package bmptest.bmp.mapper.sysUser;

import bmptest.bmp.entity.SysUser;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysUserMapper {

    Integer addSysUser(SysUser sysUser);
    Integer deleteUser(String user_id);
    Integer updateUser(SysUser sysUser);
    Integer updateStatus(SysUser sysUser);
    List<SysUser> searchUser(String user_name,Integer status);
    List<SysUser> searchUserU(String user_name);
    String queryRoleIdByUserId(String user_id);
}
